package com.kara.webapp.util;

import org.apache.tapestry5.AbstractOptionModel;
import org.appfuse.model.LabelValue;

@SuppressWarnings("rawtypes")
public class LabelValueModel <T extends LabelValue>   extends AbstractOptionModel{
	
	private T item;
	
	public LabelValueModel(T item) {
		this.item = item;
	}

	public String getLabel() {
		
		return item.getLabel();
	}

	public Object getValue() {
		return item.getValue();
	}
}
